package com.glsc.ngateway.common.api.flowable.dto.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Lium
 */
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ParamCopyDto implements Serializable {

    private static final long serialVersionUID = -3233173505452442314L;

    @NotBlank
    @ApiModelProperty(value = "流程id")
    private String processId;

    @NotNull
    @ApiModelProperty(value = "是否增加评论，默认增加")
    private boolean addComment = true;

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "抄送节点名称")
    private String taskName = "流程抄送";

    @NotBlank
    @ApiModelProperty(value = "被抄送人")
    private String usernameDestination;

    @NotBlank
    @ApiModelProperty(value = "抄送人")
    private String usernameSource;

    @NotBlank
    @ApiModelProperty(value = "第三方系统名称")
    private String sysid;

    @ApiModelProperty(value = "备注")
    private String remark;
}
